-- card: 46228 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 4755 -- name: -- part contents for background part 4 ----- text ----- The "not equal to" operator in C is '!=', the "not" operator is '!', the "and" operator is '&&', and the "or" operator is '||'. The condition in the following 'if' statement is true: if (!(4==5) && 6!=7) . . In English, it says: "if four equals five is NOT true, AND six does not equal seven...". As a shorthand for the 'if' statement*, C provides the ternary (three-operand) conditional operator '?:'. The value of an expression using this operator depends upon the value of its first operand. If the first operand is true (non-zero), then the second operand is evaluated; else, the third is evaluated and becomes the value of the expression. The operator may be mixed freely with other operators. For example, the following assigns the value 12 to result: result = ((5==6) ? 5 : 6) * 2; -- part contents for background part 7 ----- text ----- 146 -- part contents for background part 29 ----- text ----- 48179 -- part contents for background part 27 ----- text ----- if-else statement -- part contents for background part 20 ----- text ----- if-else statement - p156